package com.clpms.bean.resp;

import com.clpms.bean.enumBean.AssessmentMethodEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @author caixinyong
 * @date 2023/5/9 8:00 PM
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CourseQueryResp {
	private Long id;

	private String courseNo;

	private String courseNameAndNo;

	private String name;
	//当前课程所属学校
	private Long schoolId;
	//当前课程所属教师
	private Long teacherId;

	/**
	 * 考核方式
	 *
	 * @see AssessmentMethodEnum
	 */
	private Integer assessmentMethod;

	/**
	 * 考核内容
	 */
	private String assessmentContent;

	/**
	 * 备注
	 */
	private String remark;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	private List<LearnRecordForWorkResp> learnRecordForWorkResp;

	private Integer totalLearnRecordNumber;

	private Long totalWorkNumber;
}
